package com.hobart.learning.lagou.edu.blogSystem.dao;

import com.hobart.learning.lagou.edu.blogSystem.pojo.Article;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @author: Hobart Mr.Bai
 * @create: 2021-05-13 11:11
 * @description:
 * @Version 1.0
 **/
public interface ArticleDao {

    Page<Article> getArticleForPage(Pageable paging, Article article);

    Page<Article> getArticleAllForPage(Pageable paging, Article article);

}
